Telegram Group & Telegram Channel
#вопрос269

Вы занимаетесь сборкой игрушечных машинок. Каждая машинка должна иметь четыре колеса, один корпус и две фигурки человечков внутри.

Напишите функцию, которая будет принимать количество колес, корпусов и человечков и возвращать количество машинок, которые можно собрать из этих деталей.

Примеры:

cars(2, 48, 76) ➞ 0
# 2 колеса, 48 корпусов, 76 человечков
cars(43, 15, 87) ➞ 10
cars(88, 37, 17) ➞ 8



tg-me.com/pythonjuniorjob/910
Create:
Last Update:

#вопрос269

Вы занимаетесь сборкой игрушечных машинок. Каждая машинка должна иметь четыре колеса, один корпус и две фигурки человечков внутри.

Напишите функцию, которая будет принимать количество колес, корпусов и человечков и возвращать количество машинок, которые можно собрать из этих деталей.

Примеры:

cars(2, 48, 76) ➞ 0
# 2 колеса, 48 корпусов, 76 человечков
cars(43, 15, 87) ➞ 10
cars(88, 37, 17) ➞ 8

BY Python вопросы на собеседовании с ответами


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythonjuniorjob/910

View MORE
Open in Telegram


Python вопросы на собеседовании с ответами Telegram | DID YOU KNOW?

Date: |

For some time, Mr. Durov and a few dozen staffers had no fixed headquarters, but rather traveled the world, setting up shop in one city after another, he told the Journal in 2016. The company now has its operational base in Dubai, though it says it doesn’t keep servers there.Mr. Durov maintains a yearslong friendship from his VK days with actor and tech investor Jared Leto, with whom he shares an ascetic lifestyle that eschews meat and alcohol.

The seemingly negative pandemic effects and resource/product shortages are encouraging and allowing organizations to innovate and change.The news of cash-rich organizations getting ready for the post-Covid growth economy is a sign of more than capital spending plans. Cash provides a cushion for risk-taking and a tool for growth.

Python вопросы на собеседовании с ответами from sa


Telegram Python вопросы на собеседовании с ответами
FROM USA